projects
/
pyside6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10de4ae
)
Fix python module paths in CMake
author
Stuart Prescott
<stuart@debian.org>
Mon, 17 Feb 2025 13:50:57 +0000
(
00:50
+1100)
committer
Stuart Prescott
<stuart@debian.org>
Wed, 7 May 2025 13:59:19 +0000
(23:59 +1000)
Gbp-Pq: Name 0010-Fix-python-module-paths-in-CMake.patch
sources/shiboken6/cmake/ShibokenHelpers.cmake
patch
|
blob
|
history
diff --git
a/sources/shiboken6/cmake/ShibokenHelpers.cmake
b/sources/shiboken6/cmake/ShibokenHelpers.cmake
index 9c477705bc9ab76fa4939e95a9a32e45352f7e61..fa61aed8515a917bac62903d0d6e23985b986de2 100644
(file)
--- a/
sources/shiboken6/cmake/ShibokenHelpers.cmake
+++ b/
sources/shiboken6/cmake/ShibokenHelpers.cmake
@@
-125,13
+125,13
@@
macro(shiboken_internal_set_python_site_packages)
if sys.platform == 'win32':
lib_path = sysconfig.get_path('purelib')
else:
- lib_path = sysconfig.get_path('purelib', scheme='
posix_prefix
')
+ lib_path = sysconfig.get_path('purelib', scheme='
deb_system
')
# /home/qt/dev/env
if sys.platform == 'win32':
data_path = sysconfig.get_path('data')
else:
- data_path = sysconfig.get_path('data', scheme='
posix_prefix
')
+ data_path = sysconfig.get_path('data', scheme='
deb_system
')
# /lib/python3.9/site-packages
rel_path = lib_path.replace(data_path, '')